package lambda.entity;

/**
 * @author LIBOFEI
 * @ClassName User
 * @description
 * @date 2021/8/23 16:50
 * @Version 1.0
 **/
public class User {

    private int id;

    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public String getIdstr(){
        return this.id + "";
    }

    public void setName(String name) {
        this.name = name;
    }


    public User(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public User() {
        this.id = id;
        this.name = name;
    }
    @Override
    public String toString() {
        return "id=" + getId() +",name="+getName();
    }
}
